﻿namespace MicroCloud.Systems.Dtos
{
    /// <summary>
    /// 输入DTO：字典值
    /// </summary>
    [MapTo(typeof(DictEntry))]
    public class DictEntryInputDto : IInputDto<Guid>
    {
        public Guid Id { get; set; }

        /// <summary>
        /// 获取或设置 字典主键
        /// </summary>
        public Guid DictId { get; set; }

        /// <summary>
        /// 获取或设置 编码名称
        /// </summary>
        public string CodeName { get; set; }

        /// <summary>
        /// 获取或设置 编码值
        /// </summary>
        public int CodeValue { get; set; }

        /// <summary>
        /// 获取或设置 备注
        /// </summary>
        public string Remark { get; set; }

        /// <summary>
        /// 排序号
        /// </summary>
        public int OrderNo { get; set; }

        /// <summary>
        /// 获取或设置 是否锁定
        /// </summary>
        public bool IsLocked { get; set; }

    }
}